// 2 查询管理 1
export default {
  path: '/searchmanage',
  name: 'searchmanage',
  icon: 'search',
  authority: ['business:antd:query'],
  routes: [
    {
      path: '/searchmanage/searchcs',
      name: 'searchcs',
      authority: ['cs:query:compre'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/searchmanage/searchcs',
          redirect: '/searchmanage/searchcs/index',
        },
        {
          path: '/searchmanage/searchcs/index',
          component: './SearchManage/SearchCs/Index',
        },
      ],
    },

    {
      path: '/searchmanage/searchns',
      name: 'searchns',
      authority: ['ns:query:compre'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/searchmanage/searchns',
          redirect: '/searchmanage/searchns/index',
        },
        {
          path: '/searchmanage/searchns/index',
          component: './SearchManage/SearchNs/Index',
        },
      ],
    },
    {
      path: '/searchmanage/searches',
      name: 'searches',
      authority: ['es:query:compre'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/searchmanage/searches',
          redirect: '/searchmanage/searches/index',
        },
        {
          path: '/searchmanage/searches/index',
          component: './SearchManage/SearchEs/Index',
        },
      ],
    },

    {
      path: '/searchmanage/incexpcompcs',
      name: 'incexpcompcs',
      authority: ['cs:query:budget'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/searchmanage/incexpcompcs',
          redirect: '/searchmanage/incexpcompcs/index',
        },
        {
          path: '/searchmanage/incexpcompcs/index',
          component: './SearchManage/IncExpCompareCs/Index',
        },
        {
          path: '/searchmanage/incexpcompcs/custbilldetail',
          name: 'custbilldetail',
          component: './SearchManage/IncExpCompareCs/CustBillDetail',
        },
        {
          path: '/searchmanage/incexpcompcs/suppbilldetail',
          name: 'suppbilldetail',
          component: './SearchManage/IncExpCompareCs/SuppBillDetail',
        },
      ],
    },
    {
      path: '/searchmanage/incexpcompns',
      name: 'incexpcompns',
      authority: ['ns:query:budget'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/searchmanage/incexpcompns',
          redirect: '/searchmanage/incexpcompns/index',
        },
        {
          path: '/searchmanage/incexpcompns/index',
          component: './SearchManage/IncExpCompareNs/Index',
        },
        {
          path: '/searchmanage/incexpcompns/detail',
          name: 'detail',
          component: './SearchManage/IncExpCompareNs/Detail',
        },
      ],
    },
    {
      path: '/searchmanage/guide',
      name: 'guide',
      authority: ['business:query:guide'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/searchmanage/guide',
          redirect: '/searchmanage/guide/index',
        },
        {
          path: '/searchmanage/guide/index',
          component: './SearchManage/Guide/Index',
        },
        {
          path: '/searchmanage/guide/detail',
          name: 'detail',
          component: './SearchManage/Guide/Detail',
        },
      ],
    },
    {
      path: '/searchmanage/policysearch',
      name: 'policysearch',
      authority: ['business:query:policy'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/searchmanage/policysearch',
          redirect: '/searchmanage/policysearch/index',
        },
        {
          path: '/searchmanage/policysearch/index',
          component: './More/Policy/Index',
        },
        {
          path: '/searchmanage/policysearch/add',
          name: 'add',
          component: './More/Policy/Progress',
        },
        {
          path: '/searchmanage/policysearch/edit',
          name: 'update',
          component: './More/Policy/Progressedit',
        },
        {
          path: '/searchmanage/policysearch/foundEdit',
          name: 'update',
          component: './More/Policy/FoundEdit',
        },
        {
          path: '/searchmanage/policysearch/foundAdd',
          name: 'foundAdd',
          component: './More/Policy/FoundAdd',
        },
        {
          path: '/searchmanage/policysearch/foundDetail',
          name: 'detail',
          component: './More/Policy/FoundDetail',
        },
        {
          path: '/searchmanage/policysearch/detail',
          name: 'detail',
          component: './More/Policy/Detail',
        },
        {
          path: '/searchmanage/policysearch/foundAdd',
          name: 'add',
          component: './More/Policy/FoundAdd',
        },
      ],
    },
    {
      path: '/searchmanage/guideprotect',
      //‘guideprotect’
      name: 'guideprotect',
      authority: ['business:query:guideMainten'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/searchmanage/guideprotect',
          redirect: '/searchmanage/guideprotect/index',
        },
        {
          path: '/searchmanage/guideprotect/index',

          component: './SearchManage/GuideProtect/Index',
        },
        {
          path: '/searchmanage/guideprotect/insert',
          name: 'insert',
          component: './SearchManage/GuideProtect/Insert',
        },
        {
          path: '/searchmanage/guideprotect/detail',
          name: 'detail',
          component: './SearchManage/GuideProtect/Detail',
        },
        {
          path: '/searchmanage/guideprotect/Modify',
          name: 'modify',
          component: './SearchManage/GuideProtect/Modify',
        },
      ],
    },
  ],
};
